/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const examRouter = {
  path: '/exam',
  component: Layout,
  redirect: '/exam/plans',
  name: 'Exam',
  meta: { title: '考务成绩', icon: 'chart' },
  children: [
    {
      path: 'plans',
      component: () => import('@/views/stub'),
      name: 'Plans',
      meta: { title: '考试安排', icon: 'edit' }
    },
    {
      path: 'applies',
      component: () => import('@/views/stub'),
      name: 'applies',
      meta: { title: '考试申请', icon: 'edit' }
    },
    {
      path: 'students',
      component: () => import('@/views/stub'),
      name: 'students',
      meta: { title: '学生名册', icon: 'edit' }
    },
    {
      path: 'scores',
      component: () => import('@/views/stub'),
      name: 'scores',
      meta: { title: '成绩录入', icon: 'nested' }
    },
    {
      path: 'scoreQuery',
      component: () => import('@/views/stub'),
      name: 'ScoreQuery',
      meta: { title: '成绩查询', icon: 'eye-open' }
    },
    {
      path: 'classScore',
      component: () => import('@/views/stub'),
      name: 'classScore',
      meta: { title: '班级成绩', icon: 'chart' }
    }
  ]
}
export default examRouter
